package qwq.zyu.EnterHint;

import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;

import java.util.Arrays;

public class qwqListener implements Listener {
    @EventHandler
    public void onPlayerJoin(PlayerJoinEvent event){

        event.setJoinMessage(
                ChatColor.DARK_AQUA + "【qwq-spigot-plugin】" +
                ChatColor.RESET + "你好，请输入" +
                ChatColor.RED + " /server" +
                ChatColor.RESET + "然后按下" +
                ChatColor.RED + "Tab键" +
                ChatColor.RESET + "来切换子服务器"
        );


    }
}
